import {WeaLocaleProvider} from "ecCom";
const getLabel = WeaLocaleProvider.getLabel;

export const TaskViewUrl = '/spa/edc/static/app_v2/index.html';
export const TaskListType = [{
    key: 'doing',
    title: getLabel('16349','待处理'),
    showcount: true,
}, {
    key: 'done',
    title: getLabel('505988','已办'),
    showcount: true,
}, {
    key: 'will',
    title: getLabel('505989','未到达'),
    showcount: true,
},
//  {
//     key: 'my',
//     title: getLabel('501158','我发起'),
//     showcount: true,
// },
    {
    key: 'all',
    title: getLabel('332','全部'),
    showcount: true,
}];

export const TaskViewType = [{
    key: 'page',
    title: getLabel(502654,'基本信息')
}, {
    key: 'path',
    title: getLabel('506003','路径')
}, {
    key: 'log',
    title: getLabel('506004','日志')
}];

export const TaskViewPageType = {
    EXCEL: 'EXCEL',
    FORM: 'FORM',
    CUSTOM: 'CUSTOM'
}